<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>页面1</h1>
    <a href="./05location.html">跳转</a> <!-- 页面1 跳转→05 跳转→ 06页面2  后退到05 -->
    <script>
        // 对象 历史对象
        console.log(history); //History {length: 1, scrollRestoration: 'auto', state: null}
    </script>
</body>
</html>